package com.yy.job.console.dto;

import java.util.Date;
import java.util.List;

import com.yy.job.common.enums.JobActionEnum;

public class JobLogView {
	
	private Long id;
	
	private JobActionEnum jobAction;
	
	/**
	 * @see JobActionEnum
	 */
	private String jobActionName;
	
	private Date execStartTime;
	
	private String execStartTimeFormat;
	
	private Date execEndTime;
	
	private String execEndTimeFormat;
	
	private String manualExecUser;
	
	private String errMsg;
	
	private String errStack;
	
	private List<JobStepLogView> listJobStepLogs;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public JobActionEnum getJobAction() {
		return jobAction;
	}

	public void setJobAction(JobActionEnum jobAction) {
		this.jobAction = jobAction;
	}

	public Date getExecStartTime() {
		return execStartTime;
	}

	public void setExecStartTime(Date execStartTime) {
		this.execStartTime = execStartTime;
	}

	public String getExecStartTimeFormat() {
		return execStartTimeFormat;
	}

	public void setExecStartTimeFormat(String execStartTimeFormat) {
		this.execStartTimeFormat = execStartTimeFormat;
	}

	public Date getExecEndTime() {
		return execEndTime;
	}

	public void setExecEndTime(Date execEndTime) {
		this.execEndTime = execEndTime;
	}

	public String getExecEndTimeFormat() {
		return execEndTimeFormat;
	}

	public void setExecEndTimeFormat(String execEndTimeFormat) {
		this.execEndTimeFormat = execEndTimeFormat;
	}

	public String getManualExecUser() {
		return manualExecUser;
	}

	public void setManualExecUser(String manualExecUser) {
		this.manualExecUser = manualExecUser;
	}

	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}

	public String getErrStack() {
		return errStack;
	}

	public void setErrStack(String errStack) {
		this.errStack = errStack;
	}

	public String getJobActionName() {
		return jobActionName;
	}

	public void setJobActionName(String jobActionName) {
		this.jobActionName = jobActionName;
	}

	public List<JobStepLogView> getListJobStepLogs() {
		return listJobStepLogs;
	}

	public void setListJobStepLogs(List<JobStepLogView> listJobStepLogs) {
		this.listJobStepLogs = listJobStepLogs;
	}
	
}
